package com.ben.multiple.shiro.entity;

import java.util.ArrayList;
import java.util.List;
import lombok.Data;

/**
 * @author Ben
 * @date 2021/1/31
 */
@Data
public class User {
    public static final List<User> USER_LIST = new ArrayList<>();

    static {
        USER_LIST.add(new User("a", "a"));
        USER_LIST.add(new User("b", "b"));
        USER_LIST.add(new User("c", "c"));
    }

    String username;
    String password;

    public User() {
    }

    public User(String username, String password) {
        this.username = username;
        this.password = password;
    }
}
